package com.bangdream.michelia.contract;

import com.bangdream.michelia.entity.TeacherBean;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;

/**
 * @date on 2018/8/6 21:40
 * @email 909732184@qq.com
 * 讲师服务
 */
public class TeacherContract {
    public interface ITeacherView {
        //设置讲师列表
        void setTeacherList(boolean isSuccess, int page, List<TeacherBean> data, String stDescribe);
        //设置讲师详情
        void setTeacherDetails(boolean isSuccess, TeacherBean data, String stDescribe);
    }

    public interface ITeacherModel {
        Observable getTeacherList(Map<String,String> paramsMap);
        Observable getTeacherDetails(String id);
    }
}
